Connect to Wifi from console
https://help.ubuntu.com/community/WifiDocs/WPAHowTo
sudo iwlist wlan0 scan | grep ESSID
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
# put
network={
ssid="ESSID"
psk="Password"
}
# Change should happen automactically. If not:
sudo ifdown wlan0 && sudo ifup wlan0
If this does not help
# https://help.ubuntu.com/community/WifiDocs/WPAHowTo
ifconfig -a # something like wlp2s0 or wlan0 is interface
wpa_supplicant # get drivers
sudo iwlist wlp2s0 scan | grep ESSID
# wexy is driver
sudo wpa_supplicant -iwlp2s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext
# Reboot helps sometimes!
nano /etc/network/interfaces
iface wlp2s0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf